﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ig="http://schemas.infragistics.com/xaml"
        xmlns:dg="http://infragistics.com/DataPresenter" xmlns:igDock="http://infragistics.com/DockManager" xmlns:System="clr-namespace:System;assembly=mscorlib"
        xmlns:vuc="clr-namespace:VNet.VisiSuite.Controls;assembly=VNet.VisiSuite.Controls" xmlns:igWindows="http://infragistics.com/Windows">

    <SolidColorBrush x:Key="WhiteColor" Color="#FFFFFF" />
    <SolidColorBrush x:Key="BlackColor" Color="#FF000000" />
    <SolidColorBrush x:Key="LightGrayColor" Color="{StaticResource Color_004}" />
    <SolidColorBrush x:Key="ExtraLightGrayColor" Color="{StaticResource Color_006}" />
    <SolidColorBrush x:Key="LightDeepSkyBlueColor" Color="{StaticResource Color_024}" />

    <FontFamily x:Key="AppFontFamily">Segoe UI</FontFamily>
    <FontFamily x:Key="LightAppFontFamily">Segoe UI Light</FontFamily>
    <FontFamily x:Key="SemiLightAppFontFamily">Segoe UI Semilight</FontFamily>
    
    <Style x:Key="AppFontDialogHeader"  TargetType="TextBlock">
        <Setter Property="FontFamily" Value="Segoe UI"/>
        <Setter Property="FontSize" Value="16pt"/>
        <Setter Property="Foreground" Value="{StaticResource LightDeepSkyBlueColor}" />
    </Style>

    <Style x:Key="HeaderTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}">
        <Setter Property="Foreground" Value="{StaticResource BlackColor}" />
        <Setter Property="FontFamily" Value="{StaticResource LightAppFontFamily}" />
        <Setter Property="FontSize" Value="56" />
    </Style>

    <Style x:Key="HeaderBlueTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource HeaderTextBlockStyle}">
        <Setter Property="Foreground" Value="{StaticResource LightDeepSkyBlueColor}" />
    </Style>

    <Style x:Key="SmallHeaderBlueTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource HeaderBlueTextBlockStyle}">
        <Setter Property="FontSize" Value="28pt" />
    </Style>
    
    <Style x:Key="DateTimeTextBlockStyle" TargetType="TextBlock">
        <Setter Property="FontFamily" Value="{StaticResource LightAppFontFamily}" />
        <Setter Property="Foreground" Value="White" />
        <Setter Property="FontSize" Value="16pt" />
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>

    <Style x:Key="CaptionTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}">
        <Setter Property="Focusable" Value="False" />
        <Setter Property="FontSize" Value="14.667" />
        <Setter Property="Margin" Value="12,8,12,4" />
        <Setter Property="HorizontalAlignment" Value="Left" />
        <Setter Property="VerticalAlignment" Value="Top" />
        <Setter Property="TextWrapping" Value="Wrap" />
    </Style>

    <Style x:Key="RightLabelStyle" BasedOn="{StaticResource LabelStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontFamily" Value="Segoe UI, Tahoma" />
        <Setter Property="FontSize" Value="10.5pt" />
        <Setter Property="Foreground" Value="#FF00AADE" />
        <Setter Property="HorizontalAlignment" Value="Right" />
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="Margin" Value="0,0,0,4" />
    </Style>
    <Style x:Key="CenterLabelStyle" BasedOn="{StaticResource LabelStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontFamily" Value="Segoe UI, Tahoma" />
        <Setter Property="FontSize" Value="10.5pt" />
        <Setter Property="Foreground" Value="#FF00AADE" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
    </Style>

    <Style x:Key="TargetValueStyle" BasedOn="{StaticResource TextBoxStyle}" TargetType="{x:Type TextBox}">
        <Setter Property="FontFamily" Value="Segoe UI, Tahoma" />
        <Setter Property="FontSize" Value="10.5pt" />
        <Setter Property="Focusable" Value="False" />
        <Setter Property="IsHitTestVisible" Value="False" />
        <Setter Property="HorizontalContentAlignment" Value="Right" />
        <Setter Property="Margin" Value="4,0,4,0" />
        <Setter Property="Width" Value="50" />
        <Setter Property="Background">
            <Setter.Value>
                <SolidColorBrush>
                    <SolidColorBrush.Color>
                        <Color A="255" R="245" G="245" B="245"/>
                    </SolidColorBrush.Color>
                </SolidColorBrush>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="AxisLabelStyle" BasedOn="{StaticResource LabelStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontFamily" Value="Segoe UI, Tahoma" />
        <Setter Property="FontSize" Value="10.5pt" />
        <Setter Property="HorizontalAlignment" Value="Right" />
        <Setter Property="Width" Value="50" />
        <Setter Property="Margin" Value="0,0,-8,0" />
    </Style>

    <Style x:Key="AxisLabelDefaultStyle" BasedOn="{StaticResource LabelStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontFamily" Value="Segoe UI, Tahoma" />
        <Setter Property="FontSize" Value="10.5pt" />
        <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>

    <Style x:Key="SmallRectangleViewBoxDefaultStyle" TargetType="{x:Type Viewbox}">
        <Setter Property="Width" Value="42" />
        <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>

    <Style x:Key="SmallButtonRectangleStyle"  TargetType="{x:Type Button}">
        <Setter Property="Focusable" Value="True" />
        <Setter Property="IsHitTestVisible" Value="True" />
        <Setter Property="Margin" Value="4,0,4,0" />
        <Setter Property="Width" Value="50" />
        <Setter Property="BorderBrush" Value ="DarkGray"/>
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Background">
            <Setter.Value>
                <SolidColorBrush>
                    <SolidColorBrush.Color>
                        <Color A="255" R="245" G="245" B="245"/>
                    </SolidColorBrush.Color>
                </SolidColorBrush>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="SmallRectangleStyle"  TargetType="{x:Type Border}">
        <Setter Property="CornerRadius" Value="0" />
        <Setter Property="Focusable" Value="False" />
        <Setter Property="IsHitTestVisible" Value="False" />
        <Setter Property="Margin" Value="4,0,4,0" />
        <Setter Property="Width" Value="50" />
        <Setter Property="BorderBrush" Value ="DarkGray"/>
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Background">
            <Setter.Value>
                <SolidColorBrush>
                    <SolidColorBrush.Color>
                        <Color A="255" R="245" G="245" B="245"/>
                    </SolidColorBrush.Color>
                </SolidColorBrush>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="CurrentValueStyle" BasedOn="{StaticResource TextBoxStyle}" TargetType="{x:Type TextBox}">
        <Setter Property="FontFamily" Value="Segoe UI, Tahoma" />
        <Setter Property="FontSize" Value="10.5pt" />
        <Setter Property="Focusable" Value="False" />
        <Setter Property="IsHitTestVisible" Value="False" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
        <Setter Property="Margin" Value="4,0,4,4" />
        <Setter Property="Width" Value="100" />
        <Setter Property="Background">
            <Setter.Value>
                <SolidColorBrush>
                    <SolidColorBrush.Color>
                        <Color A="255" R="245" G="245" B="245"/>
                    </SolidColorBrush.Color>
                </SolidColorBrush>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="NextValueStyle" BasedOn="{StaticResource TextBoxStyle}" TargetType="{x:Type TextBox}">
        <Setter Property="FontFamily" Value="Segoe UI, Tahoma" />
        <Setter Property="FontSize" Value="10.5pt" />
        <Setter Property="IsReadOnly" Value="True" />
        <Setter Property="Focusable" Value="False" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
        <Setter Property="Margin" Value="4,0,4,4" />
        <Setter Property="Width" Value="100" />
    </Style>

    <Style x:Key="NormalTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}">
        <Setter Property="Foreground" Value="{StaticResource BlackColor}" />
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="HorizontalAlignment" Value="Left" />
    </Style>

    <Style x:Key="NormalTextBlockBlueStyle" TargetType="TextBlock" BasedOn="{StaticResource NormalTextBlockStyle}">
        <Setter Property="Foreground" Value="{StaticResource LightDeepSkyBlueColor}" />
    </Style>

    <Style x:Key="FooterTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}">
        <Setter Property="Foreground" Value="{StaticResource BlackColor}" />
        <Setter Property="FontFamily" Value="{StaticResource AppFontFamily}" />
        <Setter Property="FontSize" Value="12" />
        <Setter Property="FontWeight" Value="Normal" />
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="HorizontalAlignment" Value="Center" />
    </Style>

    <Style x:Key="NormalTextBoxStyle" TargetType="TextBox" BasedOn="{StaticResource TextBoxStyle}">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="Margin" Value="0,2,0,0" />
        <Setter Property="Width" Value="275" />
        <Setter Property="HorizontalAlignment" Value="Left" />
    </Style>

    <Style x:Key="NormalPasswordBoxStyle" TargetType="PasswordBox" BasedOn="{StaticResource PasswordBoxStyle}">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="Margin" Value="0,2,0,0" />
        <Setter Property="Width" Value="275" />
        <Setter Property="HorizontalAlignment" Value="Left" />
    </Style>

    <Style x:Key="ErrorTextBlockStyle" TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="FontWeight" Value="SemiBold" />
        <Setter Property="Foreground" Value="Red" />
        <Setter Property="Focusable" Value="False" />
        <Setter Property="HorizontalAlignment" Value="Left" />
        <Setter Property="Margin" Value="5 5 5 -2" />
    </Style>

    <Style x:Key="DialogLabelBlueTextBlockStyle" BasedOn="{StaticResource TextBlockStyle}" TargetType="{x:Type TextBlock}">
        <Setter Property="Foreground" Value="{StaticResource LightDeepSkyBlueColor}" />
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="HorizontalAlignment" Value="Left" />
        <Setter Property="VerticalAlignment" Value="Bottom" />
    </Style>


    <!-- Property panel styles, inherit from Infragistics styles -->
    <Style x:Key="PropertyTextBlockStyle" BasedOn="{StaticResource TextBlockStyle}" TargetType="{x:Type TextBlock}">
        <Setter Property="Foreground" Value="{StaticResource LightDeepSkyBlueColor}" />
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="Margin" Value="5 5 5 -2" />
        <Setter Property="Padding" Value="0 5 0 0" />
    </Style>

    <Style x:Key="PropertyDataTextBlockStyle" BasedOn="{StaticResource PropertyTextBlockStyle}" TargetType="{x:Type TextBlock}">
        <Setter Property="Foreground" Value="{StaticResource BlackColor}" />
    </Style>

    <Style x:Key="PropertyTextBoxStyle" BasedOn="{StaticResource TextBoxStyle}" TargetType="{x:Type TextBox}">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="Margin" Value="0 0 0 0" />
    </Style>

    <Style x:Key="PropertyPasswordBoxStyle" BasedOn="{StaticResource PasswordBoxStyle}" TargetType="PasswordBox">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="Margin" Value="0 0 0 0" />
    </Style>

    <Style x:Key="PropertyComboBoxStyle" BasedOn="{StaticResource ComboBoxStyle}" TargetType="{x:Type ComboBox}">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="16pt" />
        <Setter Property="Margin" Value="0 0 0 0" />
    </Style>

    <Style x:Key="PropertyXamComboEditorStyle" BasedOn="{StaticResource XamComboEditorStyle}" TargetType="{x:Type ig:XamComboEditor}">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="16pt" />
        <Setter Property="Margin" Value="0 0 0 0" />
        <Setter Property="AutoComplete" Value="True" />
        <Setter Property="AllowFiltering" Value="True" />
        <Setter Property="AllowMultipleSelection" Value="False" />
    </Style>

    <Style x:Key="PropertyXamComboEditorItemStyle" BasedOn="{StaticResource ComboEditorItemControlStyle}" TargetType="{x:Type ig:ComboEditorItemControl}">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="16pt" />
    </Style>

    <Style x:Key="PropertyXamMaskedInputStyle" TargetType="ig:XamMaskedInput" BasedOn="{StaticResource MaskedInputStyle}">
        <Setter Property="HorizontalContentAlignment" Value="Right" />
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="16pt" />
        <Setter Property="PromptChar" Value="" />
    </Style>

    
    <Style x:Key="PropertyXamColorPickerStyle" TargetType="{x:Type ig:XamColorPicker}">    
        <Setter Property="DerivedPalettesCount" Value="10" />
        <Setter Property="ShowAdvancedEditorButton" Value="True" />
        <Setter Property="ShowRecentColorsPalette" Value="False" />
        <Setter Property="ShowDerivedColorPalettes" Value="True" />
        <Setter Property="Height" Value="25" />
        <Setter Property="CurrentPalette">
            <Setter.Value>
                <ig:ColorPalette>
                    <ig:ColorPalette.Colors>
                        <ig:ColorPatchCollection>
                            <!--Dark Blue-->
                            <ig:ColorPatch Color="#0000A0" />
                            <!--Light Blue-->
                            <ig:ColorPatch Color="#ADD8E6" />
                            <!--Black-->
                            <ig:ColorPatch Color="#000000" />
                            <!--Green-->
                            <ig:ColorPatch Color="#008000" />
                            <!--Yellow-->
                            <ig:ColorPatch Color="#FFFF00" />
                            <!--Brown-->
                            <ig:ColorPatch Color="#A52A2A" />
                            <!--White-->
                            <ig:ColorPatch Color="#FFFFFF" />
                            <!--Red-->
                            <ig:ColorPatch Color="#FF0000" />
                            <!--Orange-->
                            <ig:ColorPatch Color="#FFA500" />
                            <!--Purple-->
                            <ig:ColorPatch Color="#800080" />
                            <!--Grey-->
                            <ig:ColorPatch Color="#808080" />
                        </ig:ColorPatchCollection>
                    </ig:ColorPalette.Colors>
                </ig:ColorPalette>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="PropertyCheckBoxStyle" TargetType="CheckBox" BasedOn="{StaticResource CheckBoxStyle}">
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="11pt" />
        <Setter Property="Margin" Value="0 8 0 0" />
    </Style>

    <Style x:Key="PropertyButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource ButtonStyle}">
        <Setter Property="Width" Value="75" />
        <Setter Property="VerticalAlignment" Value="Top" />
        <Setter Property="Margin" Value="5 10 5 10" />
    </Style>

    <!-- Xam Control-->
    <Style TargetType="{x:Type igDock:ContentPane}" x:Key="NoHeaderPane">
        <Style.Resources>
            <Style TargetType="{x:Type igDock:PaneHeaderPresenter}">
                <Setter Property="MinHeight" Value="0" />
                <Setter Property="MaxHeight" Value="0" />
            </Style>
        </Style.Resources>
        <Setter Property="Background" Value="{StaticResource WhiteColor}" />
    </Style>

    <Style x:Key="CheckBoxStyleGrid" TargetType="{x:Type dg:CellValuePresenter}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type dg:CellValuePresenter}">
                    <Border BorderThickness="1" BorderBrush="{StaticResource LightGrayColor}" Margin="-1 -1 0 0">
                        <CheckBox HorizontalAlignment="Center" IsChecked="{Binding Path=Content, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent},IsAsync=True}" IsEnabled="False"
                                VerticalAlignment="Center" Margin="5 8 5 0" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="{x:Type dg:CellValuePresenter}" x:Key="ProductImageStretchNone">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type dg:CellValuePresenter}">
                    <Border BorderThickness="1" BorderBrush="{StaticResource LightGrayColor}" Margin="-1 -1 0 0">
                        <Grid Width="{TemplateBinding Width}" Height="{TemplateBinding Height}">
                            <Image Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                    Source="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content, IsAsync=True}" Stretch="None" />
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="{x:Type dg:CellValuePresenter}" x:Key="ProductImageStretchDefault">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type dg:CellValuePresenter}">
                    <Border BorderThickness="1" BorderBrush="{StaticResource LightGrayColor}" Margin="-1 -1 0 0">
                        <Grid Width="{TemplateBinding Width}" Height="{TemplateBinding Height}">
                            <Image Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                    Source="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content, IsAsync=True}" />
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="{x:Type igDock:ContentPane}" x:Key="RightPaneStyle">
        <Setter Property="Foreground" Value="{StaticResource LightDeepSkyBlueColor}" />
        <Setter Property="FontSize" Value="16pt" />
        <Setter Property="FontFamily" Value="{StaticResource AppFontFamily}" />
        <Setter Property="Background" Value="{StaticResource ExtraLightGrayColor}" />
        <Setter Property="CloseButtonVisibility" Value="Hidden" />
        <Setter Property="WindowPositionMenuVisibility" Value="Hidden" />
        <Setter Property="PinButtonVisibility" Value="Collapsed" />
        <Setter Property="AllowDockingFloating" Value="False" />
    </Style>

    <Style x:Key="XamDataPresenterStyle" TargetType="{x:Type dg:XamDataPresenter}">
        <Setter Property="FieldLayoutSettings">
            <Setter.Value>
                <dg:FieldLayoutSettings AutoFitMode="Always" HighlightAlternateRecords="True" AutoGenerateFields="False" SelectionTypeField="Extended" SelectionTypeRecord="Single" />
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="XamTabControlStyle" TargetType="{x:Type igWindows:XamTabControl}">
        <Setter Property="TabItemCloseButtonVisibility" Value="Hidden" />
        <Setter Property="BorderThickness" Value="0 1 0 0" />
    </Style>

    <Style x:Key="TabItemExStyle" TargetType="{x:Type igWindows:TabItemEx}">
        <Setter Property="CloseButtonVisibility" Value="Hidden" />
        <Setter Property="MinWidth" Value="75" />
        <Setter Property="FontFamily" Value="{StaticResource SemiLightAppFontFamily}" />
        <Setter Property="FontSize" Value="14.667" />
    </Style>

    <Style TargetType="{x:Type vuc:CircularProgressBar}" x:Key="CircularProgressBarStyle">
        <Setter Property="HorizontalAlignment" Value="Center" />
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="Panel.ZIndex" Value="200" />
        <Setter Property="Focusable" Value="False" />
    </Style>

    <!-- Icons from XAML; modernuiicons.com -->
    <DataTemplate x:Key="AppbarArrowLeft">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_arrow_left" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="39.25" Height="28" Canvas.Left="17.75" Canvas.Top="24" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 57,42L 57,34L 32.25,34L 42.25,24L 31.75,24L 17.75,38L 31.75,52L 42.25,52L 32.25,42L 57,42 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarArrowRight">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_arrow_left" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="39.25" Height="28" Canvas.Left="17.75" Canvas.Top="24" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 57,42L 57,34L 32.25,34L 42.25,24L 31.75,24L 17.75,38L 31.75,52L 42.25,52L 32.25,42L 57,42 Z ">
                <Path.LayoutTransform>
                    <RotateTransform Angle="180" />
                </Path.LayoutTransform>
            </Path>
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarArrowUp">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_arrow_left" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="39.25" Height="28" Canvas.Top="18" Canvas.Left="24" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 57,42L 57,34L 32.25,34L 42.25,24L 31.75,24L 17.75,38L 31.75,52L 42.25,52L 32.25,42L 57,42 Z ">
                <Path.LayoutTransform>
                    <RotateTransform Angle="90" />
                </Path.LayoutTransform>
            </Path>
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarArrowDown">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_arrow_left" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="39.25" Height="28" Canvas.Top="18" Canvas.Left="24" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 57,42L 57,34L 32.25,34L 42.25,24L 31.75,24L 17.75,38L 31.75,52L 42.25,52L 32.25,42L 57,42 Z ">
                <Path.LayoutTransform>
                    <RotateTransform Angle="270" />
                </Path.LayoutTransform>
            </Path>
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarCheck">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_check" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="37.9998" Height="31.6665" Canvas.Left="19.0001" Canvas.Top="22.1668" Stretch="Fill" 
                  Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                  Data="F1 M 23.7501,33.25L 34.8334,44.3333L 52.2499,22.1668L 56.9999,26.9168L 34.8334,53.8333L 19.0001,38L 23.7501,33.25 Z "/>
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarClose">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_close" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="31.6666" Height="31.6667" Canvas.Left="22.1666" Canvas.Top="22.1667" Stretch="Fill"
                    Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 26.9166,22.1667L 37.9999,33.25L 49.0832,22.1668L 53.8332,26.9168L 42.7499,38L 53.8332,49.0834L 49.0833,53.8334L 37.9999,42.75L 26.9166,53.8334L 22.1666,49.0833L 33.25,38L 22.1667,26.9167L 26.9166,22.1667 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarDoorLeave">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_door_leave" Width="76.0106" Height="76.0106"
                Clip="F1 M 0,0L 76.0106,0L 76.0106,76.0106L 0,76.0106L 0,0">
            <Path Width="36.5052" Height="38.0053" Canvas.Left="22.0031" Canvas.Top="19.0027" Stretch="Fill"
                    Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 51.0071,19.0027L 51.0071,27.0038L 48.0067,27.0038L 48.0067,22.0031L 25.0035,22.0031L 25.0035,54.0075L 48.0067,54.0075L 48.0067,49.0068L 51.0071,49.0068L 51.0071,57.008L 22.1698,57.008L 22.0031,19.0027L 51.0071,19.0027 Z M 30.0042,35.0049L 45.2563,35.0049L 37.005,28.0039L 47.0066,28.0039L 58.5082,38.0053L 47.0066,48.0067L 37.005,48.0067L 45.2563,41.0057L 30.0042,41.0057L 30.0042,35.0049 Z " />
        </Canvas>
    </DataTemplate>


    <DataTemplate x:Key="AppbarGraphBar">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_graph_bar" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="42" Height="38" Canvas.Left="17" Canvas.Top="19" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                  Data="F1 M 22,52L 22,35L 30,35L 30,52L 22,52 Z M 32,52L 32,22L 39,22L 39,52L 32,52 Z M 41,52L 41,41L 49,41L 49,52L 41,52 Z M 51,52L 51,29L 59,29L 59,52L 51,52 Z M 17,19L 20,19L 20,54L 59,54L 59,57L 17,57L 17,19 Z "/>
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarHome">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_home" Width="76.0106" Height="76.0106"
                Clip="F1 M 0,0L 76.0106,0L 76.0106,76.0106L 0,76.0106L 0,0">
            <Path Width="38.0053" Height="36.005" Canvas.Left="19.0027" Canvas.Top="20.0028" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 24.0033,56.0078L 24.0033,38.0053L 22.0031,40.0056L 19.0027,35.0049L 38.0053,20.0028L 45.0063,25.5299L 45.0063,21.753L 49.0068,21.0029L 49.0068,28.6882L 57.008,35.0049L 54.0075,40.0056L 52.0073,38.0053L 52.0073,56.0078L 24.0033,56.0078 Z M 38.0053,26.9204L 27.0038,36.005L 27.0038,53.0074L 33.0046,53.0074L 33.0046,42.006L 43.006,42.006L 43.006,53.0074L 49.0068,53.0074L 49.0068,36.005L 38.0053,26.9204 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarInputKeyboard">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_input_keyboard" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="50.6667" Height="28.5" Canvas.Left="12.6667" Canvas.Top="23.75" Stretch="Fill"
                  Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                  Data="F1 M 15.8333,23.75L 60.1667,23.75C 61.9156,23.75 63.3333,25.1678 63.3333,26.9167L 63.3333,49.0833C 63.3333,50.8322 61.9156,52.25 60.1667,52.25L 15.8333,52.25C 14.0844,52.25 12.6667,50.8322 12.6667,49.0833L 12.6667,26.9167C 12.6667,25.1678 14.0844,23.75 15.8333,23.75 Z M 17.4167,28.5L 17.4167,47.5L 58.5833,47.5L 58.5833,28.5L 17.4167,28.5 Z M 20.5833,30.0834L 28.5,30.0833L 28.5,38L 20.5833,38L 20.5833,30.0834 Z M 30.0833,30.0833L 36.4166,30.0834L 36.4166,38L 30.0833,38L 30.0833,30.0833 Z M 20.5833,39.5834L 28.5,39.5833L 28.5,45.9167L 20.5833,45.9167L 20.5833,39.5834 Z M 30.0833,39.5833L 45.9167,39.5834L 45.9167,45.9167L 30.0833,45.9167L 30.0833,39.5833 Z M 38,30.0834L 45.9167,30.0833L 45.9167,38L 38,38L 38,30.0834 Z M 47.5,30.0833L 55.4167,30.0833L 55.4167,38L 47.5,38L 47.5,30.0833 Z M 47.5,39.5834L 55.4167,39.5833L 55.4167,45.9167L 47.5,45.9167L 47.5,39.5834 Z "/>
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarList">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_list" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="38" Height="30" Canvas.Left="19" Canvas.Top="23" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 19,23L 27,23L 27,31L 19,31L 19,23 Z M 19,34L 27,34L 27,42L 19,42L 19,34 Z M 31,23L 57,23L 57,31L 31,31L 31,23 Z M 19,45L 27,45L 27,53L 19,53L 19,45 Z M 31,34L 57,34L 57,42L 31,42L 31,34 Z M 31,45L 57,45L 57,53L 31,53L 31,45 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarListAdd">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_list_add" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="39" Height="30" Canvas.Left="18" Canvas.Top="24" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 19,24L 19,32L 27,32L 27,24L 19,24 Z M 30.9999,24L 30.9999,32L 56.9998,32L 56.9999,24L 30.9999,24 Z M 31,43L 57,43L 57,35L 31,35L 31,43 Z M 32,42L 32,36L 56,36L 56,42L 32,42 Z M 21,44L 25,44L 25,41L 28,41L 28,37L 25,37L 25,34L 21,34L 21,37L 18,37L 18,41L 21,41L 21,44 Z M 22,43L 22,40L 19,40L 19,38L 22,38L 22,35L 24,35L 24,38L 27,38L 27,40L 24,40L 24,43L 22,43 Z M 19.0001,46L 19.0001,54L 27.0001,54L 27.0001,46L 19.0001,46 Z M 31.0001,46L 31.0001,54L 57,54L 57,46L 31.0001,46 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarPageAdd">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_page_add" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="36" Height="42" Canvas.Left="20" Canvas.Top="17" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 43,30L 50.75,30L 43,22.25L 43,30 Z M 52,34L 39,34L 39,21L 24,21L 24,45L 20,45L 20,17L 43.25,17L 56,29.75L 56,59L 34,59L 34,55L 52,55L 52,34 Z M 28,38L 33,38L 33,46L 41,46L 41,51L 33,51L 33,59L 28,59L 28,51L 20,51L 20,46L 28,46L 28,38 Z M 20,59L 20,52L 24,52L 24,55L 27,55L 27,59L 20,59 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarPageCopy">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_page_copy" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="39" Height="44" Canvas.Left="20" Canvas.Top="15" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 27,20L 38.75,20L 37.75,19L 24,19L 24,50L 27,50L 27,20 Z M 46.25,20L 59,32.75L 59,59L 27,59L 27,54L 20,54L 20,15L 39.25,15L 44.25,20L 46.25,20 Z M 31,24L 31,55L 55,55L 55,37L 42,37L 42,24L 31,24 Z M 46,25.25L 46,33L 53.75,33L 46,25.25 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarPageEdit">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_page_edit" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="46.9461" Height="42" Canvas.Left="14.0539" Canvas.Top="17" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 48,30L 55.75,30L 48,22.25L 48,30 Z M 57,33L 44,33L 44,21L 29,21L 29,31.25L 25,27.25L 25,17L 48.25,17L 61,29.75L 61,59L 25,59L 25,41.75L 29,45.75L 29,55L 57,55L 57,33 Z M 24.5417,28.5L 39.5833,43.5417L 34.0417,49.0833L 19,34.0417L 24.5417,28.5 Z M 17.8125,32.8542L 14.6458,30.314C 13.6303,29.2984 14.0262,27.1405 15.0417,26.125L 16.625,24.5417C 17.6405,23.5262 19.5678,23.1303 20.5833,24.1459L 23.3541,27.3126L 17.8125,32.8542 Z M 41.9715,52.25L 35.2292,50.2709L 40.7708,44.7292L 42.6216,51.5999L 41.9715,52.25 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarPeople">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_people" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="34.8333" Height="42.75" Canvas.Left="20.5833" Canvas.Top="17.4167" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 38,17.4167C 33.6278,17.4167 30.0833,20.9611 30.0833,25.3333C 30.0833,29.7056 33.6278,33.25 38,33.25C 42.3723,33.25 45.9167,29.7056 45.9167,25.3333C 45.9167,20.9611 42.3722,17.4167 38,17.4167 Z M 30.0833,44.3333L 29.4774,58.036C 32.2927,59.4011 35.4528,60.1667 38.7917,60.1667C 41.5308,60.1667 44.1496,59.6515 46.5564,58.7126L 45.9167,44.3333C 46.9722,44.8611 49.0834,49.0833 49.0834,49.0833C 49.0834,49.0833 50.1389,50.6667 50.6667,57L 55.4166,55.4167L 53.8333,47.5C 53.8333,47.5 50.6667,36.4167 44.3332,36.4168L 31.6666,36.4168C 25.3333,36.4167 22.1667,47.5 22.1667,47.5L 20.5833,55.4166L 25.3333,56.9999C 25.8611,50.6666 26.9167,49.0832 26.9167,49.0832C 26.9167,49.0832 29.0278,44.8611 30.0833,44.3333 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarPeopleProfile">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_people_profile" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="40.7907" Height="33.55" Canvas.Left="16.2093" Canvas.Top="22.2" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 29.9796,22.2C 33.4365,22.2 36.2389,25.0024 36.2389,28.4593C 36.2389,31.9162 33.4365,34.7185 29.9796,34.7185C 26.5228,34.7185 23.7204,31.9162 23.7204,28.4593C 23.7204,25.0024 26.5228,22.2 29.9796,22.2 Z M 23.7204,43.2315C 22.8858,43.6488 21.2167,46.987 21.2167,46.987C 21.2167,46.987 20.3821,48.2388 19.9648,53.2462L 16.2093,51.9944L 17.4611,45.7352C 17.4611,45.7352 19.9648,36.9722 24.9722,36.9723L 34.9869,36.9723C 39.9944,36.9722 42.4981,45.7352 42.4981,45.7352L 43.75,51.9945L 39.9944,53.2463C 39.5772,48.2389 38.7427,46.987 38.7427,46.987C 38.7427,46.987 37.0735,43.6488 36.2389,43.2315L 36.7447,54.6004C 34.8417,55.3427 32.7712,55.75 30.6056,55.75C 27.9657,55.75 25.4672,55.1447 23.2413,54.0654L 23.7204,43.2315 Z M 39,24L 57,24L 57,27L 39,27L 39,24 Z M 39,30L 57,30L 57,33L 39,33L 39,30 Z M 41,36L 57,36L 57,39L 41,39L 41,36 Z M 44,42L 57,42L 57,45L 44,45L 44,42 Z M 46,48L 57,48L 57,51L 46,51L 46,48 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarPower">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_power" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="38" Height="41.1667" Canvas.Left="19" Canvas.Top="17.4167" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 36.4167,36.4167L 36.4167,17.4167L 41.1667,17.4167L 41.1667,36.4167L 36.4167,36.4167 Z M 57,39.5833C 57,50.0767 48.4934,58.5833 38,58.5833C 27.5066,58.5833 19,50.0767 19,39.5833C 19,30.7301 25.0552,23.2911 33.25,21.1819L 33.25,27.8374C 28.6079,29.7165 25.3333,34.2675 25.3333,39.5833C 25.3333,46.5789 31.0044,52.25 38,52.25C 44.9956,52.25 50.6667,46.5789 50.6667,39.5833C 50.6667,34.8949 48.1194,30.8014 44.3333,28.6113L 44.3333,21.6645C 51.7129,24.2728 57,31.3106 57,39.5833 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarSave">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_save" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="34.8333" Height="34.8333" Canvas.Left="20.5833" Canvas.Top="20.5833" Stretch="Fill"
                    Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 20.5833,20.5833L 55.4167,20.5833L 55.4167,55.4167L 45.9167,55.4167L 45.9167,44.3333L 30.0833,44.3333L 30.0833,55.4167L 20.5833,55.4167L 20.5833,20.5833 Z M 33.25,55.4167L 33.25,50.6667L 39.5833,50.6667L 39.5833,55.4167L 33.25,55.4167 Z M 26.9167,23.75L 26.9167,33.25L 49.0833,33.25L 49.0833,23.75L 26.9167,23.75 Z " />
        </Canvas>
    </DataTemplate>

    <DataTemplate x:Key="AppbarSettings">
        <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_settings" Width="76" Height="76"
                Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0">
            <Path Width="38.9239" Height="38.9239" Canvas.Left="18.538" Canvas.Top="18.5381" Stretch="Fill" Fill="{Binding Tag, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Border}}"
                    Data="F1 M 38,23.5C 38.8643,23.5 39.7109,23.5756 40.5337,23.7206L 42.6275,18.5381L 48.1901,20.787L 46.0964,25.9692C 47.6473,27.0149 48.9851,28.3527 50.0308,29.9036L 55.213,27.8099L 57.4619,33.3725L 52.2794,35.4664C 52.4244,36.2891 52.5,37.1357 52.5,38C 52.5,38.8643 52.4244,39.7109 52.2794,40.5337L 57.4619,42.6275L 55.213,48.1901L 50.0308,46.0964C 49.0795,47.5073 47.8865,48.7418 46.5112,49.7405L 48.7844,54.8462L 43.3041,57.2891L 41.0307,52.1828C 40.0533,52.3906 39.0394,52.5 38,52.5C 37.1357,52.5 36.2891,52.4244 35.4664,52.2794L 33.3725,57.462L 27.8099,55.213L 29.9036,50.0309C 28.3527,48.9851 27.0149,47.6473 25.9691,46.0964L 20.787,48.1901L 18.538,42.6275L 23.7206,40.5336C 23.5756,39.7109 23.5,38.8643 23.5,38C 23.5,37.1357 23.5756,36.2891 23.7206,35.4664L 18.538,33.3725L 20.787,27.8099L 25.9691,29.9036C 26.9205,28.4927 28.1135,27.2582 29.4889,26.2594L 27.2157,21.1537L 32.6959,18.7109L 34.9694,23.8172C 35.9468,23.6094 36.9606,23.5 38,23.5 Z M 38,28C 32.4771,28 28,32.4772 28,38C 28,43.5229 32.4771,48 38,48C 43.5228,48 48,43.5229 48,38C 48,32.4772 43.5228,28 38,28 Z " />
        </Canvas>
    </DataTemplate>

    <!-- Footer -->
    <ControlTemplate x:Key="FooterTemplate">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="137" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="137" />
            </Grid.ColumnDefinitions>
            <Image Source="../Images/leanlogic_logo.png" Margin="8,0,0,0" Grid.Column="0" Focusable="False" />
            <TextBlock Grid.Column="1" Style="{StaticResource FooterTextBlockStyle}" Text="{Binding Path=Copyright, Mode=OneWay}" Focusable="False" />
        </Grid>
    </ControlTemplate>

    <!-- Busy Indicator -->
    <Style TargetType="{x:Type vuc:BusyIndicator}">
        <Setter Property="BusyContent" Value="Please wait..." />
        <Setter Property="IsTabStop" Value="False" />
        <Setter Property="Focusable" Value="False" />
        <Setter Property="DisplayAfter" Value="00:00:00.1" />
        <Setter Property="HorizontalAlignment" Value="Stretch" />
        <Setter Property="VerticalAlignment" Value="Stretch" />
        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
        <Setter Property="VerticalContentAlignment" Value="Stretch" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type vuc:BusyIndicator}">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="VisibilityStates">
                                <VisualState x:Name="Hidden">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.001" Storyboard.TargetName="busycontent"
                                                Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.001" Storyboard.TargetName="overlay" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Visible">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.001" Storyboard.TargetName="busycontent"
                                                Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.001" Storyboard.TargetName="overlay" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="BusyStatusStates">
                                <VisualState x:Name="Idle">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.001" Storyboard.TargetName="content" Storyboard.TargetProperty="(Control.IsEnabled)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <System:Boolean>True</System:Boolean>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Busy">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.001" Storyboard.TargetName="content" Storyboard.TargetProperty="(Control.IsEnabled)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <System:Boolean>False</System:Boolean>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <ContentControl x:Name="content" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
                                HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" IsTabStop="False"
                                Focusable="False" />
                        <Rectangle x:Name="overlay" Fill="White" Opacity="0.2" />
                        <ContentPresenter x:Name="busycontent">
                            <ContentPresenter.Content>
                                <Grid HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="150">
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <ContentPresenter Margin="8">
                                        <ContentPresenter.Content>
                                            <StackPanel>
                                                <vuc:CircularProgressBar HorizontalAlignment="Center" />
                                                <TextBlock Style="{StaticResource TextBlockStyle}" Text="{TemplateBinding BusyContent}" HorizontalAlignment="Center" Margin="0 5 0 0" />
                                            </StackPanel>
                                        </ContentPresenter.Content>
                                    </ContentPresenter>
                                </Grid>
                            </ContentPresenter.Content>
                        </ContentPresenter>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
</ResourceDictionary>